Optimal. Leaf size=92 \[ \frac {c \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{6 a f \sqrt {c-c \sin (e+f x)}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2} \sqrt {c-c \sin (e+f x)}}{4 a f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.26, antiderivative size = 92, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.079, Rules used = {2920, 2819,
2817} \begin {gather*} \frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2} \sqrt {c-c \sin (e+f x)}}{4 a f}+\frac {c \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{6 a f \sqrt {c-c \sin (e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2817
Rule 2819
Rule 2920
Rubi steps
\begin {align*} \int \cos ^2(e+f x) (a+a \sin (e+f x))^{3/2} \sqrt {c-c \sin (e+f x)} \, dx &=\frac {\int (a+a \sin (e+f x))^{5/2} (c-c \sin (e+f x))^{3/2} \, dx}{a c}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2} \sqrt {c-c \sin (e+f x)}}{4 a f}+\frac {\int (a+a \sin (e+f x))^{5/2} \sqrt {c-c \sin (e+f x)} \, dx}{2 a}\\ &=\frac {c \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{6 a f \sqrt {c-c \sin (e+f x)}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2} \sqrt {c-c \sin (e+f x)}}{4 a f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.27, size = 83, normalized size = 0.90 \begin {gather*} \frac {a \sec (e+f x) \sqrt {a (1+\sin (e+f x))} \sqrt {c-c \sin (e+f x)} (-12 \cos (2 (e+f x))-3 \cos (4 (e+f x))+8 (9 \sin (e+f x)+\sin (3 (e+f x))))}{96 f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 90, normalized size = 0.98
method | result | size |
default | \(-\frac {\sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, \sin \left (f x +e \right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {3}{2}} \left (-3 \left (\cos ^{4}\left (f x +e \right )\right )+\left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-4 \left (\cos ^{2}\left (f x +e \right )\right )+5 \sin \left (f x +e \right )-5\right )}{12 f \cos \left (f x +e \right )^{3}}\) | \(90\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 81, normalized size = 0.88 \begin {gather*} -\frac {{\left (3 \, a \cos \left (f x + e\right )^{4} - 4 \, {\left (a \cos \left (f x + e\right )^{2} + 2 \, a\right )} \sin \left (f x + e\right ) - 3 \, a\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{12 \, f \cos \left (f x + e\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {3}{2}} \sqrt {- c \left (\sin {\left (e + f x \right )} - 1\right )} \cos ^{2}{\left (e + f x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.54, size = 104, normalized size = 1.13 \begin {gather*} \frac {4 \, {\left (3 \, a \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{8} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - 4 \, a \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a} \sqrt {c}}{3 \, f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 9.81, size = 97, normalized size = 1.05 \begin {gather*} -\frac {a\,\sqrt {a\,\left (\sin \left (e+f\,x\right )+1\right )}\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (12\,\cos \left (e+f\,x\right )+15\,\cos \left (3\,e+3\,f\,x\right )+3\,\cos \left (5\,e+5\,f\,x\right )-80\,\sin \left (2\,e+2\,f\,x\right )-8\,\sin \left (4\,e+4\,f\,x\right )\right )}{96\,f\,\left (\cos \left (2\,e+2\,f\,x\right )+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________